Added writable config
Added Config writing and proper installation and reset method