refactor controllers
data migration + resize windows