add AddMarker class and Register class