Separated code into additional pages based on task