splitting up the code

now to get a waaay better overview over the whole project i splitted up
the code. there should be no major changes to the code yet, just
splitting them up.
fyi those major are incoming lateron