add configurable settings module and some more tests