basic functionality complete
added app.state and list trimming.
version 1 - ready for real data