created model and util classes for client