added tests, javascripts stuff, seeding