added jasmine, split up templates, and started adding jasmine tests