Added Refrence database
Wrote some more stuff + some rearranging
Merge conflict fixed