Massive overhall of project.

Added lcasses and made changes to methods to follow more of a object
oriented style.