cleanup settings
add redis cache
fix empty database bug
ignore idea files