refactored api by best practise 2013
post work
removed swp file