Changed codescales to embedded resource

Fixes #13