add flexibility to library placement by resolving relative locations of necessary files

Relative paths resolution, instead of assuming that necessary files are located in ext.restfullyii
Merge pull request #34 from sheershoff/master

add flexibility to library placement by using relative files locations