More robust export to PostgreSQL database
Better comment of new postgresql export
process apps in reverse order for the menus
cleaner and more generic commands.py file