major refactor, added styled demo page