Laid framework for functionality

Added queries and hash function for user password, as well as installer. Now need to add functions to take advantage of this framework.