Some thoughts on the topic about Solidity SmartContracts
In a folder time-locked-example
contains an example for factory that will create timelock smart contract for each investor of the token.
In a folder crowd-sale-two-level-token-example
contains an example for the situation when needed to create crowdsale token with emiting the main token next.