Separate packages; scripts

Moved classes into separate sub-packages for core algorithm and UI.

Added some startup scripts.
First CLI tool for running the algorithm
Renamed some classes