moved code in header to cpp files

:P
blah

grr