scale class and initalizer