Complete rewriting the application start