Added basic data retrieval API