Rewrote create user function
Added indexes file
Added some test files for simple checks