added question schema, moved schemas to external file, renamed index.js to init.js to better reflect its role
created main module functionality in index.js