1. Moved string related manipulation into adaptor_type
1. Added support for double
1. Added performance test