Separate header and implementation

* removed some old build stuff
* separated header and implementation