Remove debugging & provide stats
Make a connection the the database and store the mapping data