added config and database dist