add the database handler and ignore the bin dir