Added some ideas for better ways to modularize my code.