add simple class system