Separated program into modules