added peewee base model to remove code duplication
moved bot's user id into settings
changed != to "is not" to comply with standards
changed where lastTweet is converted to int
removed unnecessary else clause
fixed syntax of if clauses
condensed simplify function