Adding Base File and Setting up for Database