Refactoring, so parse.lua is responsible for parsing user requests.