Refactored code and added some basic functionality

- removed one anonymous function layer
- _c('namedcolor') supported now
- lighten and darken functions added (probably need rethinking)