added tests for refresh test and scope validation
moved the http and storage dirs to the root dir. ran go fmt