updated doc, removed hardcoded application path, cleaned up code and xmls