Grouping JS into external files
Beginning of refactor
Added main staxel build as reference