db/model style improvements
weird localhost problem. /etc/hosts?
fixes to complex query
remove junk files
minor sprucing up