fixed typo
fixed stupid bug..
removed unused files
created spatial and basic need type query. NEEDS DEBUG!