add gulp, changed remove precompiled public, add it to gulp task. Bug fixes