Revised SQL setup script, and the script function
Renamed NetworkPacket to SerialPacket, updated build
Removed singleton pattern
Merge branch 'login' (read more)

Made a few tweaks to the code, but the build still works, so I'm merging it into master.