Nearly complete, improved refrence_db, moved module into subfolder by author