Added unit tests, documentation and moved load button to API user's side.