Added parser class to models package

added setUser method