added endpoints and checked exposed correctly
implemented insert and list functionality