Cleaned up repo and divided into serverside and clientside