delete spec
write to a types folder
better type lookups
Add support for partials