Added customizable deployment target
Updated readme
Added support for base path retrieval