functional query language, commented code, added sample database