restructure source files a bit

move some files around and group stuff together a bit better.
This is still not perfect, but a step into the right direction.