added parameter interface and refactored configs to accomodate.