updated readme and added type model