clean up of controller and added multiple inports and addition of ffw's