move code to proper folder, fix slides' bugs