Add public interface functions, CT tests, fix formatting
Merge pull request #2 from iguberman-ubnt/master

Add public interface functions, CT tests, fix formatting