Revert "Add some api functionality"

This reverts commit e4697289c6d8abe23b18d77e8114d4f69d6a1a9c.
Revert "Revert "Add some api functionality""

Conflicts:
	.gitignore