Basic structure of application service