setting up some of the structure, modules, db connection file, etc.
a few changes