Some serious refactoring, I guess? Updated schemas a bit, more Java refactoring, and added logout functionality.