first commit. the main functionnality is working. however I should finish the admin later.