Moved css/js into seperate files and improved examples.