change the license from MIT to Apache 2.0
implement operations to rich client