added restart test
added restart code
update port docs with new functionality
added configuration changing tests
added more comprehensive tests for config additions and deletes
resolved problems with reading and writing of configuration values