modified Database class
cleaned
added NetWork