Making code modular and usable