Base64 encoding and features for model

Changed pickle method to include base64 encoding and include features
dict