Added compiled files.
Refactored build in to separate function in cake file.
Added publish option in cake file.