Hi,
I must say I'm sorry for such a long delay to answer here.
Quite after writing this question I decided to go on on the "bad" way (I mean, editing any file I'd need) and refactor it later to move it all to a module.
Some of the tutorials I followed also made me create a module and this part also went OK.
So, thanks for your answer.