Re-writed events, Add API, dev version, add Cache.