Refactor, extract requires and includes to their own file