add gem dependencies, add database configuration