Rename and split out compositor code into own source file

Signed-off-by: Simon Busch <morphis@gravedo.de>