wip
about to rip all this out
extracting segments to plugin
add homepage back