Added sql, modified some files for use without authentication