Implement logic, integrate library