set configuration vars for test enviornment
sinatra now throws errors, add catch block
formatting, move lib to the other libs