Added Network.java and Layer.java and LayerType enum also removed allot
of the unnessisary generics.