move content checks to workhorse functions
simplify workhorses
draft endpoint functions except account and gallery
add initial onload options
add rate limit check function
add rate limit checks (closes #1)
remove unnecessary function
add token expiration time to OAuth object