Refactored code in AppInterface, updated JavaDocs