Added log messages and changed inet4address to inetaddress
Added multiple state system
Added logging
Changed data folder