added toggle server functionality

added ability to toggle the on off switch to the server
handling volley with singleton