Extenstion might require sometime more advanced approcahes, depending on the requirements. More advanced extension development solutions are discussed in this manual.
We suggest to try extension developer tools to create your extension. This will help you avoid tedious work of creating necessary files. Dev Tools Extension on Github