Added on and added a mainProgram class