Export the value boilerplate code
More cleanup on the code

Add a function to get the final stirng value of an attr
Stop exporting so many functions, this makes easier the release
Export the value boilerplate code