fix index segment route
require doctrine, doctrine module, and phpunit
scaffold core and persistence modules