* Added javadoc and comments.
 * Added main activity orientation change handling.
 * Used PathResolver.java for adapter url generation.