Split API into a directory; start to update it