Updated network. Created a separate class for each Layer.