fixed a bug on displaying literal
improved table definitions
added helpful comments in output RDB script file