Removed class.header and class.source

- extra complexity for nothing
- now always exports msg and server as public APIs