More code migrating, some matsym additions

1) Migrated project
2) Added some basic UI elements, which will need to be completely
implemented.
3) Added some of the Data Marshalling and IPC, but most of it is
non-functional at this point
4) Minor code refactoring