separated into frontend/backend, added client page, needs config not in js file