added maintenanced page and core functionality, but based on js for now