Changing program model to modularity