Better renaming migration, added settings migration
Fixed session JSON being incorrect
Added settings controller/model etc.