added API v2 placeholders.
Discovery WIP (thanks to Ohad for initial STI work)
Fix postgres migration