Fixed paths and added new options for setting them

The working directory is precisely the way to get contextual information that gets the library to know where its files are. Even Yesod follows this approach.