Whole bunch of changes

- Changed to use Akka's IO package
- Added some basic types