added custom ref url template via system property;
fixed dependancies