Bug Fixes and added gulp finish

Change code to be able to run.

Added gulp finish to generate the file you put into the AppLoader.