lifelogd: import peewee directly and dont pollute global namespace