Add a function to get app root.

Related to #21