initial checkin from base middleman init
initial working code and helpers
final touches, doc still in progress.