Updated composer details
Added basic query structure
To spaces
Added documentation