preps config and __init__ files for database