Rebased: Fixed code and code style

Fixed code style

Fixed flash messages

Some correct style

Fixed search field

Fixed search when tag is not exist

Remove excess files
Merge pull request #9 from MavkaPoltavka/fixed_errors_and_code_style

Fixed errors and code style