Created api/v1 directory to get started with api versioning.
Removed obsolete functions.