Added newlines at the end of every file
Created a callbacksystem and a inputsystem to capture inputs