Expanded readme and added more type safety by using phantom type.