Mocking API to be used in conjunction with web-server.js

Signed-off-by: Daniel Koo <danieljamin.koo@gmail.com>