Move sprockets addon to separate file and add integration tests.