6 addconf

Fixes #6 

Good first attempt. Could use some improvements though.