added node id logic for loading and saving of weights
Cleaned up the layer class a little
Little cleaning and bug fix in network class