Add setter for basePath

- in some circumstances you would need to set it in the configure() method to use property placeholders