Convert lat and long to string

Convert passed data from master into strings ready for json output
Move out legacy code to slave

All of the functions not needed by master are now being moved to the
slave
New slave functions from master

Slave functionality added. Needs formatting, testing etc but is being
held in here for now to clean master
Mass clean up of code

Mass clean up of code and restructuring to make sure it is readable and
easy to find.