move backend bits out
add pyramid base app