Use local database to cache old homework data.
Remove some messages
Fix a couple of bugs.
Fix more bugs, and it seems this version works well.