populated modeljs with documentation, todos and reorganized the code for better readibility + namechanges