Clean up app_mysql's application entry points to properly parse arguments