moved to single file. started documentation