Code clean up and removed the usage of 'doc' to encapsulate the application document
Updated the build vertion to 2.0.3
Added a type selector that uses type:id pattern