Database works now. Going to look into using hibernate for now on.