jasmine tests added, small bug fixes, karma config added, minified version improved, project structure updated