Added creation of settings to postinst
fixed bugs in rpc class
fixes in frontend