edited file structure further
made into a working gem