refactor activity part, move frontend logic to angularJS controllers, add new page "list" on activity