removed sample apps and added support for cross compilation