commented and finalized files

viewmap, activitylog, mainactivity