fix(app): generate common files only one time

Closes #66