Added layers functionality, timebar isn't working right now though. Is about to fix it
merging