I am planning to build a complex app and ideally I want to split parts into simplier parts in order to be easier for debugging and reading of my code. However, i get an erro