Adding more app functions. Closes #5.