Create app function object for readability