Started adding modules API.
Added routes for modules API.