Split project into two modules.
Added a CLI.