added images for demo
added tests directory and refactored demo