javadoc-ify main activity and db interface