Refactored the applicationInterface class and created
documentation for several private methods