Added documentation and application boilerplate code.