Unfortunately, an oral (or verbal) agreement for tenancy is treated as an oral lease, even when the "rent" paid is maintenance. An oral lease may be terminated by either party, landlord or tenant, on 30 days notice, for any reason. Therefore, the landlord can give you 30 days notice to leave, then evict if you do not. Having put money into the property does not give you any rights: in this case, that money (and any effort/work you did) was your rent. Having "paid" it is why he let you stay here this long; but rent, once paid, has no continuing effect on future occupancy.