Project structured and unwanted code removed

Example files removed since no longer needed for reference
Updated the Connection handler code to involve database update and auto
pushing from server to client.