Made some changes
added controller for complex table view and fixed imports