Refactored project

Refactored the working project
Added the SharedConstants class which is utilised by both the Client and
Server