finished api methods, add logic interface
add run script