Adds sourcemap support

Title says it all.