HUGE Formatting changes. Added some framework javadocs.