Added undefine() to Settings and cleared main class code.

Signed-off-by: Xunkar <xunkar@jenmaarai.com>