refactoring smartos recipe and adding support for bundler