fixed a bug
added contructor that sets also the controller folder