Moved RedNet API to api dir