Changed constants to make smof portable.

I suggest making these changes so a person could define the paths, and place smof in some other place than the root of the theme.
Then the only thing left is to init it by including this file.