register class base view