Added javadocs and some bug fixes.
Fixed the final problems, cleaned everything up.
Finalized (But with messy commented code)