restructure repo and add main files for specific programs