Changed codescales to embedded resources

Fixes #13