moved network and parser into controller, added model
added stub code for network, with unit test stubs