Core framework added + a few modules

I have added the core framework, please note this is no where near
finished, there are still many improvements that need to be made.