added server + database modifications

Classes for Database and Api

login,register,recover,checkIfLogged,getLesson,getAllLessons,getExercise,getProblem,submitExercise
completed so far

Database modifications:
- added country and avatar to users table
-removed id_ex and id_pb from lessons and instead added id_lesson to
exercise and problem table