Refactor codes + Simplify gulpfile (initial check-in)