Main aplication