split into modules and wrap js with gulp