Basic skeleton implemented

Lots of null pointers being returned as placeholder, so it will crash at
present, but the basic skeleton is implemented.