Start application logic