added progress bar
added more types.

TODO: implemented table, view and trigger.
fixed the function, package and type.