how to write an open application. There are any references about how to write an open application in here. you can look below.