do modules
delete unsed files
fix event delegation in modals.
finnish modularize