started organizing the code so i can modify it

Signed-off-by: Exikle <xidstudios@hotmail.com>