Turned interfaces to classes

As there will only be one implementation of platform and device, there
is no real need for those interfaces. The objects will contain enough
variables to be modified.
more work on platform