Made location activity more robust

Descriptions of certain classes were also added as JavaDoc