Current changes

I have successfully linked the database and performed a test query. Other updates have been adding comments and structure ready to be fleshed out soon. Feel free to ask how anything works.