Move out business logic class.