buggy but no more functions to add routes/views to a theme
index theme works
cleaned js, better structure