fixed logged time
refactored location subclass, implemented rudimentary display of friend locations and contacts integration. Code is based on the work done by @iandl and @ijwhite