We can create accounts from contract code: https://github.com/angelol/smart_account_creator and we can query things about accounts: https://github.com/nsjames/Account-Has-Code
is there a way to deploy a contract to a newly created account from within a contract action?
eosio.token
where people can make thousands of tokens all based off one contract.