apiHandler added
better template system
fix javascript for the new api

- also javascript treshold fixed (now with lower)
Item view UI redesign
refactored dashboard