added string encryption and logging framework