edited the FormProcessor class

changed the database initialization to use the constants in
the config file rather than in-function variables (should've
done this from the git-go)