adding basic api functions
rework - so i can setup accent via ams