fixed invalid return
implemented promise-ish system so the same resources can be requested by different applications
version bump