Added api prototype with basic functionality.