Added a Layer class

The rest will be done tomorrow.