Finalised socket communication, setup navigation view
Added saving to the database, fixed CSS