CLI: Refactored to be main entry point.
setup.py updated entry point.
Moved content to core.