refactor database hadling and bot features

added peewee for database ORM