Added beginning of API layer required for PoC, plus unit tests

Change-Id: Ifb6586c97f5388471b4eb5012f729fdeab9cb174