added "module" and "activity" tables to the database