simplify header files

try to pus the implementation in the source files, rather than header files, unless there's a reason not too: function is really small (getter/setter) and/or has to be inlined.