revert 1.1 changes, ready for commit to 1.2
add api directory for version 1.2