Some refactoring done to order clases in a new compiler pkg.
Some refactoring done. GUI is now usable. CLI added in a separate package.