trying to modularize code more
restructured with template. running on server. need to get collection init fetch to work, and updates and removes