Added files to API

This should add easy implementation, and is quite easy to understand and
modify, if needed.