add rudimentary pause/replay capabilites; encapsulate cinescript functions; rename lib to cinescript