Added business logic layer.