added needed sinatra files and original brwsrchk code