Refactored WmsLayer and removed unused DAO and service.