testing options
optimized code.
Now uses sqlite3 or a dict to store data.
Definition parser works correctly.