basic queue

* various storage support
* supports basic adding for localStorage
* connection detection