Reorganization

- Remove the multi-level inheritance, much simpler architecture.
- Remove unnecessary files.