Added Cache command.
Cleanup migrations.
Some small fixes.