Created Init, Config classes and sanitize function