Fix paths for localhost usage

This uses relative paths where possible.
Merge pull request #12 from khenriks/master

Fix paths for usage on localhost