Set up measurement and measurement type API
Add serializer spec