added experiment functionality, improved configurability