code formatting, users db class, removing version globals