In order to increase readability, maintainability and maybe a future independence regarding web frameworks move code to new files.