added a configuration file & MySQL schema.
counts up when /api/emit is called.