Architectures for Activity Recognition and Context-Aware Computing