Create myapp directory with an extension

Create myapp directory with an extension based on the application type.