move function definitions from header to source file
Merge pull request #1 from thomas-mueller/master

move function definitions from header to source file