Adding support for automatic cross compilation.
Refactoring
Finishing the deploy script.