Started coding the amplifyJS persistence API
Several improvements