Fixes and feautures

Fix modules vesrions and add migrations.
Fix git ignore and cache.
Fix some bugs.