Split js into separate files and add gulp build system