clean up readme~, tmp, db/*.sqlite3, log/*.log, extra and solved some bugs