Working on implementation, needs to take whole program as list of commands