Updated API, added new system for easier API use.