Separate webapp from API