Added extensions and comments

Added extended functionality to the base app and a verbose level of
comments in the code.