Fixes to Controller reference
removed unneeded sqlite reference