* added two layer network base class
* added unit test
* killed confusing vector constructor