cleanupd up lite.ejs and combined lib files and integreated callbacks