added memfav class

this class makes memfav down a bit