Updated for API changes

Updated for API changes and fixed the commands and configuration loading
SIgned-off-by: Justin <the_lone_devil@justin-wiblin.tk>