Added mapping files and db generation script