Added basic Layer class definition.