Implement first version of API
Implement first version of fully working script