remove database yml
refactored all the things