Implement all API functions(args, result struct are still underway
Update formating