added basic autoloader, removed redundant files, refactors to only use sessions for what I actually needed them for