Removed double reference to main class
Corrected a few typos