A general framework for business logic development