Add command line level compiler. Split level load and save logic into its own library.

- Fixes #21
- Fixes #24