several additions

updated manage.ejs and manage.js to process, display, post, and validate
data. added several routes and backend functions for processing story,
chapter, and action data, as well as maintaining it in the database.
added routes for processing inserts and updates, manage view and clientside js