Cleaned up
Improved resize functionality
Using Controller as syntax