Convert app as an extension.

Signed-off-by: crynobone <crynobone@gmail.com>