Added missing module scope for warn in statesp.
Added gitingore file.