init class and features