Controlling our framework with the main() function