Added api function signatures and added requirements.txt