Few errors picked up by Landscape.io fixed
Fix imports
Remove mongo stuff
Add the connection code to database
Moved make_connection code to databse, updated imports
Refactored and improved a lot of theses methods
Added a method to handle possibly correlated (Possibly where insertion effect downstream deletion)' I actually do not think this is needed. I really need to review a lot of the parsing code
A few minor variable name changes, and also bring CDS to front when parsing. Started a generaic method for this