more code moved to work, ppmio mem leak fix
source files moved to src/

Signed-off-by: Leo Bärring <leo.barring@gmail.com>