Minimizing the application footprint