Reorganized code structure in packages and fixed discard behaviour.
When discarding a location on the map previously created location info
doesn't change.
Added verification and visual feedback for not empty fields.