Split code in different modules