modularising application