Wrapping Module in function, Including Controller