Restructured project and added Maven pom.xml

Bug fixes
 - The websocket client object is now closed properly
 - Sets the default value in case number couldn't be parsed