I want to make an application that can add as a service in NT. What should I add in my code? and What should I pay attention for?