Added comments to frontend part, and minor cleanup in code
Merge branch 'webservice' of https://github.com/Happyness/social.git into webservice
Added comments and cleaned up