Added first elements of rest API