Added core skeletton code

I took the core code that @frankbew put in Software/uCtrlCore in Common.

Most of it will be shared with Hardware.