chore: refactor demo application and create services.