Merge pull request #75 from lyhypacm/persistence-cleanup

clean up deprecated methods in picture service.
delete maven configuration file and use gradle instead.