Added .idea to ignore list.
Added file db.py