Implement .on .off, add ascii headers, Layer constructor, refactoring