Remove inheritance from interfaces from front facing objects

This should fix #307

I also moved more code from header to source files and tried to clean up some imports.