Added database and .idea folder to git ignore.