added activity module and non-ported test files.