Converted to maven project, updated deprecated code

Signed-off-by: Furt <lit_69@hotmail.com>