class.Layer v.1.1

small bug fixes and comments