Started with application generation

Attention: the application generation does not work yet!