Added basic API reading and simple test