Big API remaking
Documentation and samples updated