added rake tasks
reorganized dirs
dir reorganization
working api