Use thin as application engine