Split API.java into Client and Admin classes @torresda