Start of api implementation
api update
Javascript cleanup