cleaned up the gem files and moved to ruby files