First commit of code and register definitions