Fix namespace of exceptions.
Use resource to load css and image.
Rename core file.