Controller created
bugfixes mainly