Backend: refactored for more apis

Planning to extend with more than just the convert API.
A more flexible folder structure is required.