deleted old testing implementation

added Network and Layer class
added interfaces