added moives.db with table movies
added cache cheking form databas
added cache database, everything working