Creating method of organizing module-like portions of resuable code