Javadoc by Thomas

Some comments on the main activity