added basic class for DRY methods
added basic class for DRY methods