Basic DAO, handling of command-line arguments and parsing command input.