Code cleanup. Results method

'lil code cleanup. Split API views\urls to separate files.
Started Results calcuations