Started with splitting up the program in multible files.

This broke the code.